﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;

namespace InSiteExtractor.Configuration
{
    class MapSettingsSection : ConfigurationSection
    {
        MapSettingElement element;
        public MapSettingsSection()
        {
            element = new MapSettingElement();
        }

        [ConfigurationProperty("mapSetting", IsDefaultCollection = false)]
        [ConfigurationCollection(typeof(MapSettingElementCollection), AddItemName = "add",
            ClearItemsName = "clear",
            RemoveItemName = "remove")]
        public MapSettingElementCollection MapSettings
        {
            get
            {
                return (MapSettingElementCollection)base["mapSetting"];
            }
        }
    }
}
